package com.aatrox.bhsypro.dao;

import com.aatrox.bhsypro.entity.BMySelf;
import com.aatrox.bhsypro.entity.BVideo;
import com.aatrox.bhsypro.entity.BVideo;
import com.aatrox.bhsypro.entity.LikeVideo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BVideoDao {
    //查询页码
    public List sel();
    //分页
    public List fy(int p);
    //分类查询
    public List likesel(LikeVideo l);
    //根据分类查所有
    public List likeselfl(LikeVideo l);
    //根据视频ID查询视频
    public BVideo selVideoForVid(int vid);
    //查询出点赞总数和播放量
    public BMySelf selVideoSum(int uid);

    //查询播放量最多的作品
    public List BvSel(int uid);

}
